﻿using StartsEAS_API.Model;
using StartsEAS_API.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StartsEAS_API.DAL.EApplyD
{
    public class EApplyDAL
    {
        private readonly StarsEASContext _context;
        public EApplyDAL(StarsEASContext context) { 
            _context = context;
        }

        public ResultUtils GetAllEApply() {
            StarsEASContext _context = new StarsEASContext();
            List<Eapply> eApplyList = _context.Eapplies.ToList();
            return new ResultUtils() { code = 200, message = eApplyList };
        }



    }
}
